Developer --> Technical Publications
PATHHardware Documentation > USB Devices > Mac OS USB DDK API Reference


USBExpertInstallInterfaceDriver

The USBExpertInstallInterfaceDriver function notifies the USB Manager that a class driver needs to be loaded for the given interface of the given device. This function is used by class drivers that select configurations and interfaces. The drivers that use this functionality are typically composite class drivers.

OSStatus USBExpertInstallInterfaceDriver (
                     USBDeviceRef ref,
                     USBDeviceDescriptor *desc,
                     USBInterfaceDescriptor *interface,
                     USBReference hubRef,
                     UInt32 busPowerAvailable);

--> ref
Device reference of device containing the interface.
--> desc
Device descriptor of the interface to find a driver for. See also, Device Descriptor Structure
--> interface
Interface descriptor of interface to find a driver for. See also, Interface Descriptor Structure .
--> hubRef
The device reference for the device containing this interface. Usually a device reference of a hub.
--> busPowerAvailable
How much current is available from the bus for the device, in 2 milliamperes (mA) units. This should have one of two values, 100mA for a bus-powered hub parent and 500mA for a self-powered parent.

© 1999 Apple Computer, Inc.

Previous | Back Up One Level | Next | Show Frames | Hide Frames